﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FinosLibrary {
    public enum MPType { Default, PropClient, PropServer }
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, Inherited = false, AllowMultiple = true)]
    public sealed class MessageProcessAttribute: Attribute {
        public MPType myType;
        public string appName;
        public MessageProcessAttribute(MPType m) {
            myType = m;
            if (appName == null) appName = "";
        }
        public MessageProcessAttribute() {
            myType = MPType.Default;
            if (appName == null) appName = "";
        }
    }
}
